import sys
import tkinter
import tkinter.messagebox


# simple argument echo script
# for v in sys.argv[1:]:
#     print(v)
# 0指代码（即此.py程序）本身
a = sys.argv[1:]
tkinter.messagebox.showinfo(title=a[0], message=a[1])
tkinter.mainloop()